/*
 * ****************************************************************************
 * Copyright: 2020-2030, YZChain Tech. Co., Ltd.
 * File name:
 * Description:
 * Author: Dc luo
 * Version: v1.0
 * Date: $DATE
 * History:
 * ***************************************************************************
 */

package com.srp.blockchain.bcos.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

@Data
@ApiModel(value = "交易记录DTO")
public class TransactionDTO {

    @ApiModelProperty(value = "交易信息")
    private TxInfoDTO txInfo;
    @ApiModelProperty(value = "交易回执")
    private TxReceiptDTO txReceipt;

    public TransactionDTO(TxInfoDTO txInfo, TxReceiptDTO txReceipt) {
        this.txInfo = txInfo;
        this.txReceipt = txReceipt;
    }
}
